<? include(APPPATH.'views/home/header.tpl') ?>
    <div class="error-content">
        <div>
            <h1>
            	Error!
            </h1>
            <? foreach($message as $item): ?>
                <h4><?= $item ?></h4>
            <? endforeach; ?>
            <br>
            <p>URL：<?= current_url() ?></p>
            <p>时间：<?= time_format(date('Y-m-d H:i:s')) ?></p>
        </div>
        <br>
        <div>
            <button type="button" class="btn btn-white btn-cons" onclick="history.back()">返回上一页</button>
            <button type="button" class="btn btn-white btn-cons" onclick="window.location.href = $.G.domain">返回首页</button>
        </div>
    </div>
<? include(APPPATH.'views/home/footer.tpl') ?>